#49 new
Scott Johnson

rspec failures on clean Rails 2.3.2 installation

Reported by Scott Johnson | April 13th, 2009 @ 12:24 PM

I get six failures running 'rake spec' on a clean install in Rails 2.3.2.

Three of them I understand (formated_users_path => users_path) but the other three are routing errors which I am unable to explain. See attached log. Note, I also got these three routing failures on Rails 2.2.2.

I have the following gems installed:

rack (0.9.1)
rails (2.3.2)
rspec (1.2.2)
rspec-rails (1.2.2)

And I ran the following commands:
rails ra_fail
cd ra_fail
script/generate rspec
script/plugin install git://github.com/technoweenie/restful-authentication.git
mv vendor/plugins/restful{-,_}authentication
script/generate authenticated user sessions --rspec
rake db:migrate

rake spec

Comments and changes to this ticket

  • Sam Pierson

    Sam Pierson April 13th, 2009 @ 03:16 PM

    Scott, It looks like several people have found and fixed that problem, but the fixes have yet to be integrated into technoweenie's version.

    I used this branch instead with good results: git://github.com/robertwalker/restful-authentication.git


Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.


People watching this ticket